﻿@model KnowledgebaseCategoryModel
@{
    //page title
    ViewBag.Title = Loc["Admin.Content.Knowledgebase.KnowgledgebaseCategory.CreateKnowgledgebaseCategory"];
}
<form asp-area="@Constants.AreaAdmin" asp-controller="Knowledgebase" asp-action="CreateCategory" method="post">

    <div class="row">
        <div class="col-md-12">
            <div class="x_panel light form-fit">
                <div class="x_title">
                    <div class="caption">
                        <i class="fa fa-forumbee"></i>
                        @Loc["Admin.Content.Knowledgebase.KnowgledgebaseCategory.CreateKnowgledgebaseCategory"]
                        <small>
                            <i class="fa fa-arrow-circle-left"></i> @Html.ActionLink(Loc["Admin.Content.Knowledgebase.KnowgledgebaseCategory.BackToList"], "List")
                        </small>
                    </div>
                    <div class="actions">
                        <div class="btn-group btn-group-devided">
                            <button class="btn btn-success" type="submit" name="save">
                                <i class="fa fa-check"></i> @Loc["Admin.Common.Save"]
                            </button>
                            <button class="btn btn-success" type="submit" name="save-continue">
                                <i class="fa fa-check-circle"></i> @Loc["Admin.Common.SaveContinue"]
                            </button>
                        </div>
                    </div>
                </div>
                <div class="x_content form">
                    <partial name="Partials/CreateOrUpdateCategory" model="Model"/>
                </div>
            </div>
        </div>
    </div>
</form>